﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Public;
using QLTV_Data;

namespace QLTV_BLL
{
  public  class NguonCungCap_BLL
    {
      NguonCungCap_Data nguonCC_Data = new NguonCungCap_Data();
      public DataTable TaoBang(string sql)
      {
          return nguonCC_Data.TaoBang(sql);
      }
      public DataTable LayDuLieu()
      {
          return nguonCC_Data.LayDuLieu();
      }
      public int Insert(NguonCungCap_Public maNguonCung, NguonCungCap_Public tenNguonCung, NguonCungCap_Public ghiChu)
      {

          return nguonCC_Data.Insert(maNguonCung,tenNguonCung,ghiChu);
      }
      public int Update(NguonCungCap_Public maNguonCung, NguonCungCap_Public tenNguonCung, NguonCungCap_Public ghiChu)
      {

          return nguonCC_Data.Update(maNguonCung,tenNguonCung,ghiChu);
      }
      public int Delete(NguonCungCap_Public maNguonCung)
      {
          return nguonCC_Data.Delete(maNguonCung);
      }
    }
}
